<template>
  <div>
    <div class="My_title__39w3V">
      <img
        src="http://liufusong.top:8080/img/profile/bg.png"
        alt="背景图"
        class="My_title_img"
      />
      <div class="My_info__eOYeg">
        <div class="My_myIcon__3cKIV">
          <img
            class="My_avatar__2Fbh7"
            src="http://liufusong.top:8080/img/profile/avatar.png"
            alt=""
          />
        </div>
        <div class="My_user__B6O1D">
          <div class="My_edit__3wqlv">
            <van-button type="primary" to="/login">去登录</van-button>
          </div>
        </div>
      </div>
    </div>
    <div>一些按钮</div>
    <div>
      图片
      <!-- <img src="http://liufusong.top:8080/img/profile/join.png" alt=""> -->
    </div>

  </div>
</template>

<script>
export default {
  name: 'my',
  data () {
    return {
      active: 0
    }
  },

  created () {},

  methods: {

  }
}
</script>

<style scoped lang="less">
.My_title__39w3V {
  position: relative;
  min-height: 300px;
}
.My_title_img {
  width: 100%;
  height: 100%;
}

.My_info__eOYeg {
  position: absolute;
  background: #fff;
  width: 85%;
  height: 55%;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 10px 3px #ddd;
  margin: 50px auto 0;
  padding: 0 20px;
  text-align: center;
  font-size: 13px;
}
.My_myIcon__3cKIV {
  position: relative;
  transform: translateY(-50%);
  border-radius: 50%;
  width: 70 px;
  height: 70 px;
  border: 5 px solid #f5f5f5;
  display: inline-block;
  box-shadow: 0 2px 2px #bdbdbd;
}
.My_avatar__2Fbh7 {
  width: 100%;
  border-radius: 50%;
}
.My_user__B6O1D {
  padding-top: 15 px;
}
.My_name__3U2NB {
  margin-top: -30 px;
  margin-bottom: 10 px;
}
.My_edit__3wqlv {
  color: #999;
  font-size: 12px;
  margin-top: 20 px;
}
</style>
